package com.rjkj.medicalwaste.viewmodels

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.rjkj.medicalwaste.base.BaseViewModel
import com.rjkj.medicalwaste.database.GarbageReviewWeightDialogInfo
import com.rjkj.medicalwaste.repository.GarbageRepository

class ReviewWeightViewModel(val garbageRepository: GarbageRepository, garbageCode: String) :
    BaseViewModel() {
    val garbageBean: LiveData<GarbageReviewWeightDialogInfo> =
        garbageRepository.findGarbageReviewWeightDialogInfoByCode(garbageCode)
    var success = MutableLiveData(false)
}